package com.cwg.dict.ui.rcp.commands.handlers;

import com.cwg.dict.model.History;
import com.cwg.dict.ui.rcp.Activator;

public class UnmarkFavorite extends AbstractFavoriteHandler {
	@Override
	protected void execute(History h) {
		h.setFavorite(false);
		Activator.getDefault().getHistorical().unmarkFavorite(h.getWord());
	}
}
